Skip to content

Make crowdfunding invest payable and add bridge/metadata/third-party coverage - #1050

Merged
nanaf6203-bit merged 3 commits into
MettaChain:mainfrom
Maryermarh:feature/test-coverage-and-error-handling-fixes
Aug 25, 2026
Merged

Make crowdfunding invest payable and add bridge/metadata/third-party coverage#1050
nanaf6203-bit merged 3 commits into
MettaChain:mainfrom
Maryermarh:feature/test-coverage-and-error-handling-fixes

Conversation

@Maryermarh

Copy link
Copy Markdown

Summary

Fixes the crowdfunding value-in path and fills two empty test modules, closing all four assigned issues.

Test results

  • cargo test -p propchain-crowdfunding: 22 passed (20 existing updated + 2 new)
  • cargo test -p propchain-bridge: 54 passed (51 existing + 3 new)
  • cargo test -p propchain-metadata: 5 passed (new)
  • cargo test -p propchain-third-party: 4 passed (new)

Closes #985
Closes #986
Closes #987
Closes #988

- crowdfunding: invest is now payable, requires the exact transferred
  value, and uses checked arithmetic for investments, raised_amount and
  share credits (MettaChain#985)
- bridge: multi-hop terminal hop no longer unwraps an empty route;
  a typed InvalidChain error is returned instead (MettaChain#986)
- metadata: fill the empty test module with ownership, versioning,
  finalization, media-limit and legal-document verification tests (MettaChain#987)
- third-party: cover registration, status updates, the KYC flow and the
  fiat payment flow in place of the empty test module (MettaChain#988)

Closes MettaChain#985, closes MettaChain#986, closes MettaChain#987, closes MettaChain#988
@drips-wave

drips-wave Bot commented Aug 25, 2026

Copy link
Copy Markdown

@Maryermarh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

The gate fails for all PRs independent of their contents: the pinned
dependency set (trie-db 0.28.0) no longer compiles under the stable
rustc (1.98.0) that CI installs fresh on every run, so clippy aborts
inside dependency code before reaching project code.

Per maintainer request, comment out the workflow until the dependency
baseline is refreshed.
@nanaf6203-bit
nanaf6203-bit merged commit 6855988 into MettaChain:main Aug 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment